import http from "@/api";
import { ResPage } from "@/api/interface/index";

export interface SiteInfo {
	id: string;
	[key: string]: any;
}
export const getSiteList = (params: SiteInfo) => {
	return http.get<ResPage<SiteInfo[]>>(`/site/find`, params);
};
export const modSite = (params: SiteInfo) => {
	return http.post(`/site/modify`, params);
};
